<%--
  Created by IntelliJ IDEA.
  User: a
  Date: 2022/1/11
  Time: 16:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学生页面-学生成绩管理系统-javaweb实战</title>
    <style>
        #container{
            text-align: center;
            margin-top: 50px;
        }
        #container div{
            padding: 15px;
        }
    </style>

</head>
<body>
<div style="margin-top: 100px">
    <jsp:include page="../top.jsp"/>
    <div id="container">
        <form action="<%= request.getContextPath()%>/StudentServlet?type=add" method="post">
            <div>
                <%--点击用户名，input就会自动获取焦点--%>
                <label>
                    学生姓名:
                    <input type="text" name="studentName"/>
                </label>
            </div>
            <div>
                <label>
                    学&nbsp;&nbsp;&nbsp;号:
                    <input type="text" name="no"/>
                </label>
            </div>
            <div>
                <label>
                    生&nbsp;&nbsp;&nbsp;日:
                    <input type="text" name="birthDay" placeholder="yyyy-MM-dd HH:mm:ss"/>
                </label>
            </div>
            <div>
                <input type="submit" value="登录">
            </div>
        </form>
    </div>
    <jsp:include page="../bottom.jsp"/>
</div>
</body>
</html>
